import { defineComponent, onMounted, ref } from 'vue'
import styles from '@/assets/home.module.css'
import City from '@/city'

export default defineComponent({
  setup() {
    onMounted(() => {
      new City('.'+styles.canvas)
    })
    return () => (<>
      <div class={styles.canvas}></div>
    </>)
  }
})